@@ -191,7 +191,7 @@ module DotHelper |
||
| 191 | 191 |
overlay << Nokogiri::XML::Node.new('a', doc) { |badge|
|
| 192 | 192 |
badge['id'] = id = 'b%d' % agent_id |
| 193 | 193 |
badge['class'] = 'badge' |
| 194 |
- badge['href'] = events_path(agent: agent) |
|
| 194 |
+ badge['href'] = agent_events_path(agent) |
|
| 195 | 195 |
badge['target'] = '_blank' |
| 196 | 196 |
badge['title'] = "#{count} events created"
|
| 197 | 197 |
badge.content = count.to_s |